package com.rich.house;

import com.rich.common.util.IdWorker;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;

/**
 * @Author:fei
 * @Date:2021/8/13
 */
@SpringBootApplication(scanBasePackages = "com.rich")
@EnableDiscoveryClient
@EnableFeignClients
@EnableResourceServer
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class RichHouseTestApplication {
    public static void main(String[] args) {
        SpringApplication.run(RichHouseTestApplication.class, args);
    }
}
